home *** CD-ROM | disk | FTP | other *** search
-
- //------------------------------------------------------------------->
- //
- // thing-3.inc
- //
- // "Easy POV Oven"
- //
- // Written By: Paul T. Dawson
- // ptdawson@voicenet.com
- // http://www.voicenet.com/~ptdawson
- //
- // All code and techniques are PUBLIC DOMAIN - have fun with it!
- //
- //------------------------------------------------------------------->
- //
- // Thing_3 is a bunch of mirror spheres over a checkerboard (cliche!).
- //
- //------------------------------------------------------------------->
-
- #declare Lollipop = union {
-
- sphere { < 0, 2, 0 >, 0.6
- pigment { White }
- finish { Mirror }
- } // End of sphere.
-
- // The stick is a little too long,
- // so it pokes through the table!?!
-
- cylinder { < 0, -0.5, 0 >< 0, 2, 0 >, 0.1
- pigment { Red }
- } // End of cylinder.
-
- } // End of union.
-
- #declare Thing_3 = union {
-
- // The checker floor.
- cylinder { <0,0.1,0><0,0.3,0>,3.7
- pigment { checker Green, Yellow
- translate < 0.5, 0, 0.5 > }
- } // End of cylinder.
-
- // Outside eight.
- object { Lollipop translate < -1, 0, 3 > }
- object { Lollipop translate < 1, 0, 3 > }
-
- object { Lollipop translate < -3, 0, 1 > }
- object { Lollipop translate < 3, 0, 1 > }
-
- object { Lollipop translate < -3, 0, -1 > }
- object { Lollipop translate < 3, 0, -1 > }
-
- object { Lollipop translate < -1, 0, -3 > }
- object { Lollipop translate < 1, 0, -3 > }
-
- // Center four (higher).
- object { Lollipop translate < -1, 0.5, 1 > }
- object { Lollipop translate < 1, 0.5, 1 > }
-
- object { Lollipop translate < -1, 0.5, -1 > }
- object { Lollipop translate < 1, 0.5, -1 > }
-
- } // End of union.
-
- //------------------------------------------------------------------->
- //
- // End of this file.
-
-